package com.qys.livesMall.open.service;

import com.qys.livesMall.open.modal.entity.H2OpenSysMessageReadLog;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 系统消息已读日志 服务类
 * </p>
 *
 * @author wzy
 * @since 2023-07-11
 */
public interface H2OpenSysMessageReadLogService extends IService<H2OpenSysMessageReadLog> {

    void updateRemind(Long id, Long userId);

    void deleteSysMessage(Long id, Long userId);

    /**
     * 未读信息
     * @param userId
     * @return
     */
    Integer getUnreadNum(Long userId);
}
